package com.study;

import com.alibaba.fastjson.JSONObject;

import java.util.HashMap;
import java.util.Map;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        String a = "select detl.order_sn from yy_order_detl detl,cisdb_xxgyy..obs_order obs" +
                "where detl.order_status in ('1','2') and detl.close_flag='0' " +
                "and obs.order_id = detl.exam_serial " +
                "and obs.order_sn = '27241515' ";
        System.out.println(a);
    }

    public static void test1(JSONObject obj){
        obj.put("aaa","aaaa");
        obj.put("bbb","bbbb");
        obj.put("ccc","cccc");
    }

    public static void test2(JSONObject object){
        JSONObject obj = new JSONObject();
        obj.put("abc","bca");

        object = obj;
    }

    public static void test3(Map<String,String> map){
        Map<String,String> map1 = new HashMap<>();
        map1.put("rr","fff");

        map = map1;

        System.out.println(map);
    }
}
